import type { XtxGuessInstance } from '@/types/component'
import { ref } from 'vue'

export const guessList = () => {
//获取猜你喜欢实例
  const guessRef = ref<XtxGuessInstance>()
//滚动触底事件
  const onScrolltolower = () => {
    guessRef.value?.getList()
  }
  // 返回实例和事件处理函数
  return {
    guessRef,
    onScrolltolower,
  }
}
